const TokenKey = 'vue_likede_token'
const UserId = 'vue_likede_user_id'

export function getToken() {
  return localStorage.getItem(TokenKey)
}

export function setToken(token) {
  return localStorage.setItem(TokenKey, token)
}

export function removeToken() {
  return localStorage.removeItem(TokenKey)
}

export function getUserId() {
  return localStorage.getItem(UserId)
}

export function setUserId(id) {
  return localStorage.setItem(UserId, id)
}

export function removeUserId() {
  return localStorage.removeItem(UserId)
}
